package com.talkyun.ocean.service;


import com.talkyun.ocean.model.Endpoint;
import com.talkyun.ocean.model.Provider;
import com.talkyun.ocean.model.Service;

import java.util.List;

public interface RegistryManager {

    void registry(Provider provider, List<Service> services);

    Service getServiceInfoByMapping(String serviceMapping);

    Service getServiceInfoByInterface(String interfaceName);

    List<Provider> listServiceProvider(String interfaceName);

    List<Endpoint> listEndpoint(String interfaceName);
}